package com.zt.system;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import com.zt.user.UserInfo;
import lombok.Data;

/**
 * 
 * @TableName personal_center
 */
@TableName(value ="personal_center")
@Data
public class PersonalCenter implements Serializable {
    /**
     * 中心id
     */
    @TableId(type = IdType.AUTO)
    private Integer centerId;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 姓名
     */
    private String fullName;

    /**
     * 地址
     */
    private String address;

    /**
     * 联系方式
     */
    private String contactInfo;
    @TableField(exist = false)
    private UserInfo userInfo;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}